Notes/Domino Fix List
SPR # JFRK4E7NDFFixed in 5.0.3 release



Product Area: Other Technical Area: Domino Objects (LotusScript & Java & CORBA) Platform: Cross Platform

SPR# JFRK4E7NDF - Fix a problem with the Count property of a NotesDocumentCollection including the count of deletion stubs when it should not.
Technote Number: 1088758

Problem:
This issue was reported to Quality Engineering and has been fixed in Notes
5.0.3.

Excerpt from the Lotus Notes and Domino Release 5.0.3 fix list (available at
http://www.ibm.com/developerworks/lotus):
Domino Objects (LotusScript & Java & CORBA)
SPR# JFRK4E7NDF - Fix a problem which caused the Count property of a
NotesDocumentCollection to incorrectly include the count of deletion stubs.
Workaround:
Deleting the deletion stubs in the database can, for a time, correct the
behavior.

A code workaround is also available. It involves using the Search method (of
the NotesDatabase class) to search for all documents in the database. The
larger the database the slower the method will take to execute.

For example:
Dim s As New notessession
Dim db As notesdatabase
Dim col As notesdocumentcollection
Dim notime As New NotesDateTime("")

Set db = s.currentdatabase
Set col = db.Search( "Select @All" ,notime , 0)
Msgbox col.count
More >



Last Modified on 11/16/2000

Go back